package com.itheima.netty.instance.test;

import java.util.Comparator;

public class HumanComparator implements Comparator<Human> {

	public int compare(Human o1, Human o2) {

		return o2.getManey() > o1.getManey() ? -1 : 1;
	}

}
